package webone.javabean;


public class Emp {
		private int id;
		private String name;
		private String password;
		private Authority ut;
		public Emp() {
			super();
		}
		public Emp(String name, Authority au) {
			super();
			this.name = name;
			this.ut = au;
		}
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		
		public String getPassword() {
			return password;
		}
		public void setPassword(String password) {
			this.password = password;
		}
		public int getId() {
			return id;
		}
		public void setId(int id) {
			this.id = id;
		}
		public Authority getUt() {
			return ut;
		}
		public void setUt(Authority ut) {
			this.ut = ut;
		}
		@Override
		public String toString() {
			return "Emp [id=" + id + ", name=" + name + ", password=" + password + ", ut=" + ut + "]";
		}
				
}
